import { combineReducers } from "redux";
import userReducer from "./userReducer";
import { persistReducer } from "redux-persist";
import storage from "redux-persist/lib/storage";
import channelReducer from "@reducers/channelReducer";
export const rootReducer = combineReducers({
  userReducer: persistReducer({ key: "userReducer", storage }, userReducer), channelReducer
});
